-- GENERATED SPELL FOR [Robotron 3000] --


function spell0_17178(pUnit, Event) --6Gather Water,n/a--
pUnit:FullCastSpellOnTarget(29992,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17178', 668, 1)
end

function Sorts_17178(pUnit, Event)
local choix_sorts_17178 = math.random(0, 0)
if choix_sorts_17178 == 0 then
pUnit:RegisterEvent('spell0_17178', 1, 1)
end
end

function mob17178_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17178', math.random(1500, 3000), 1)
end

function mob17178_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17178_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17178_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17178, 1, 'mob17178_Action')
RegisterUnitEvent(17178, 2, 'mob17178_Leave')
RegisterUnitEvent(17178, 3, 'mob17178_Kill')
RegisterUnitEvent(17178, 4, 'mob17178_Die')
